]> dgit.raspbian.org Git - gnome-shell.git/commit
portalHelper: Add extra check for policy decision type
authorMichael Catanzaro <mcatanzaro@redhat.com>
Sun, 27 Jul 2025 15:35:58 +0000 (17:35 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sun, 3 Aug 2025 19:15:28 +0000 (19:15 +0000)
commitc9a93ec66ee722d58aeb3727eb7d606b3704b79b
tree8b5a32281cb55c82c94cf1ac66a32ecdd1f52c41
parent1c80a4f213faef5170c3af6720d1e6d623fc45ad
portalHelper: Add extra check for policy decision type

This check will always be true currently, because there are only three
possible types of policy decisions, and both of the others are already
handled above. But if new policy decision types are ever added in the
future, then we probably don't want to execute this code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3813>
js/portalHelper/main.js